package com.sport.video.service;

import com.sport.video.cache.CacheApplication;
import com.sport.video.db.DBApplication;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * service核心服务
 *@Author Gred
 *@Date 2019/2/28 20:54
 *@version 1.0
 **/
@Slf4j
@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackageClasses = {DBApplication.class, CacheApplication.class, ServiceApplication.class})
public class ServiceApplication {

    public static void main(String[] args) {

        log.info("********** ServiceApplication BEGIN.... **********");

        SpringApplication.run(ServiceApplication.class, args);

        log.info("********** ServiceApplication END.... **********");
    }
}
